package parttern.mediator;

public abstract class AbsMediator {

    protected AbsColleague colleagueA;
    protected AbsColleague colleagueB;

    public AbsMediator(AbsColleague colleagueA, AbsColleague colleagueB) {
        this.colleagueA = colleagueA;
        this.colleagueB = colleagueB;
    }

    public abstract void AAffectB();

    public abstract void BAffectA();
}
